package com.kkb.service.impl;

import com.kkb.service.User;

import java.util.Arrays;
import java.util.Date;

public class UserImpl implements User {
    private String name;
    private Integer age;
    private Date birthday;

    public UserImpl() {
    }

    public UserImpl(String name, Integer age, Date birthday) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    @Override
    public void init() {
        this.showUser();
    }

    @Override
    public void showUser() {
        System.out.println("name = " + this.name);
        System.out.println("age = " + this.age);
        System.out.println("birthday = " + this.birthday);
    }
}
